<!--
* @Author: white_queen
* @Date: 2025-01-15 17:02:23
* @LastEditors: white_queen
* @LastEditTime: 2025-01-15 17:05:06
* @FilePath: /news/detail.vue
* @Description: In User Settings Edit
-->
<template>
	<view>
		<u-navbar
			:placeholder="true"
			bgColor="#222"
			:titleStyle="{
				fontFamily: ' PingFangSC, PingFang SC',
				fontWeight: 500,
				color: textColor,
				textAlign: 'center',
				fontStyle: 'normal'
			}"
		>
			<!-- uview的bug tabbar页面不会自动隐藏左侧区域 -->
			<view class="u-nav-slot" slot="left"></view>
			<!-- uview没有接口可以修改title的颜色 -->
			<view class="u-nav-slot" slot="center">
				<text
					:style="{
						fontFamily: 'Alibaba PuHuiTi 2.0',
						fontWeight: 600,
						fontSize: '34rpx',
						color: '#eee',
						lineHeight: '34rpx',
						textAlign: 'center',
						fontStyle: 'normal'
					}"
				>
					{{ newsTitle }}
				</text>
			</view>
		</u-navbar>
	</view>
</template>

<script>
export default {
	data() {
		return {
			id: null,
			newsTitle: '文章详情'
		};
	},
	onLoad(e) {
		this.id = e.id;
	}
};
</script>

<style lang="scss"></style>
